home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (C) 1990-1992 by Michael Davidson.
- * All rights reserved.
- *
- * Permission to use, copy, modify, and distribute this software
- * and its documentation for any purpose and without fee is hereby
- * granted, provided that the above copyright notice appear in all
- * copies and that both that copyright notice and this permission
- * notice appear in supporting documentation.
- *
- * This software is provided "as is" without express or implied warranty.
- */
-
- #ifndef VDEV_H
- #define VDEV_H
-
- struct vdevinit
- {
- char *name;
- int (*probe)();
- int (*init)();
- };
- extern struct vdevinit vdevsw[];
-
- /*
- * video device configuration
- */
-
- struct vdev
- {
- char *v_name;
- void *v_modes;
- int (*v_init)();
- void (*v_reset)();
- int (*v_setmode)();
- void (*v_setpalette)();
- void (*v_clear)();
- void (*v_putpixels8)();
- void (*v_putpixels24)();
- void (*v_puttext)();
- };
-
- typedef struct vdev vdev_t;
-
-
- #endif /* VDEV_H */
-